package com.clpms.service;

import com.clpms.bean.req.AddCourseReq;
import com.clpms.bean.req.CourseQueryReq;
import com.clpms.bean.req.DeleteCourseReq;
import com.clpms.bean.req.UpdateCourseReq;
import com.clpms.bean.resp.CourseQueryResp;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author caixinyong
 * @date 2023/5/9 8:01 PM
 */

public interface CourseService {

	PageInfo<CourseQueryResp> query(CourseQueryReq req);

	Boolean delete(DeleteCourseReq req);

	Boolean addCourse(AddCourseReq req);

	Boolean updateCourse(UpdateCourseReq req);

	List<CourseQueryResp> queryAllCourse();

}
